﻿using System;

using Mojo;

namespace $safeprojectname$
{
    [ImportClass(String.Empty, "StageAssistant")]
    public class StageAssistant : AbstractStageAssistant
    {
        /// <summary>
        /// In Mojo framework, every class must have explicit constructor.
        /// </summary>
        public StageAssistant()
        {
        }

        public override void Setup()
        {
            //TODO:
            this.controller.PushScene("main");
        }

        public override void HandleCommand(Event events)
        {
            var currentScene = this.controller.ActiveScene();
            if (events.type == Mojo.Event.command)
            {
                switch (events.Command)
                {
                    case Mojo.Menu.helpCmd:
                        this.controller.PushAppSupportInfoScene();
                        break;
                }
            }
            //TODO:
        }
    }
}
